package util

import (
	"crypto/sha1"
)

// EncodeMD5 md5 encryption
func EncodeSHA1(value string) string {
	h:=sha1.New()
	h.Write([]byte(value))
	bs := h.Sum(nil)

	return string(bs)
}

